package com.libing.service;

import com.libing.entity.User;
import com.libing.enums.StateEnum;

/**
 * @Description:
 * @Auther: LEE
 * @Date: Create in 2018/3/3 11:18
 */
public interface UserService {

    StateEnum save(User user);

    StateEnum remove(Long id);

    StateEnum modify(User user);

    User detail(Long id);

    User queryByName(String username);

}
